<html>
<head>
    <title>房间</title>
</head>
<style>
    *{padding:0px; margin:0px; font-size: 12px;font-family: arial,"Microsoft YaHei","\5fae\8f6f\96c5\9ed1";-webkit-font-smoothing: antialiased; line-height: 1.5;}
    #main{width:820px;  padding:5px; height: 700px; margin:100px auto; border: 1px solid #333333}
    .playerInfo{width:200px; height:40px; margin: 5px; text-align: center; float:left; border: 1px solid #eeeeee;}
    .playerInfo:hover{width:200px; height:40px; margin: 5px; text-align: center; float:left; border: 1px solid #FF5722;}

</style>
<body>
<div id="main">
    <div id="head"></div>
    <div id="body"></div>
</div>
</body>
<script src="Common/Common.js"></script>
<script>
    CommonFileListRequertFile('Socket');
    CommonFileListRequertFile('Jquery');
    CommonFileListRequertFile('Layer');
    CommonFileListRequertFile('ProtocolApi');
    CommonFileListRequertFile('FunctionCommon');
    CommonFileListRequertFile('LoadCheck');
    CommonFileListRequertFile('RoomDetail');
    CommonFileListRequertFile('ServerCommonMessage');


    window.onload=function (){
        var RoomDetailController=new RoomDetail();
        ws.onmessage = function(eve) {
            RoomDetailController.getAction(eve);
        };

        var roomID=localStorage.getItem('PhpGameSocketRoomid');
        if(roomID==='' || roomID===null || roomID===false){
            window.location.href='RoomList.html';
        }

        setTimeout(function (){
            ws.send(ProtocolApi.ProtocolMsg(ProtocolApi.Protocol['DDZ_GET_ROOM_DETAIL'],{roomID:roomID}))
        },1000);

    }




</script>
</html>